package com.gitee.yanfanvip.model;

import java.io.Serializable;

public class Row implements Serializable{
	private static final long serialVersionUID = -6416943549864767651L;
	
	private String keyspaces;
	private String key;
	private byte[] value;
	
	public Row() {}
	
	public Row(String keyspaces) {
		this.keyspaces = keyspaces;
	}
	public Row(String keyspaces, String key){
		this.keyspaces = keyspaces;
		this.key = key;
	}
	public Row(String keyspaces, String key, byte[] value){
		this.keyspaces = keyspaces;
		this.key = key;
		this.value = value;
	}
	
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public byte[] getValue() {
		return value;
	}
	public void setValue(byte[] value) {
		this.value = value;
	}
	public String getKeyspaces() {
		return keyspaces;
	}
	public void setKeyspaces(String keyspaces) {
		this.keyspaces = keyspaces;
	}
	

	@Override
	public String toString() {
		return "{keyspaces : " + keyspaces + " , key : " + key + "}";
	}
}
